package com.devilloki.viki.overspeedalert;

import android.app.Application;
import android.content.Intent;

import com.devilloki.viki.overspeedalert.services.AlertService;

/**
 * Created by viki on 2016/3/21.
 */
public class MyApp extends Application {

    private Intent backService=null;

    @Override
    public void onCreate() {
        backService =new Intent(getApplicationContext(),AlertService.class);
        super.onCreate();
    }

    /**返回记录轨迹的service实例
     * @return
     */
    public Intent getService(){
        return backService;
    }
}
